package com.itheima.leyou;

import com.itheima.leyou.annotation.EnableJwtVerification;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan(basePackages = "com.itheima.leyou.mapper")
@EnableFeignClients(basePackages = "com.itheima.leyou.client")
@EnableJwtVerification  //选择性开启mvc的拦截器校验功能
public class LyUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(LyUserApplication.class);
        System.out.println("----ly-user-service启动成功----");
    }
}
